package com.eightgroups.tces.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 评教结果表
 * </p>
 *
 * @author zzc2016.cn
 * @since 2017-11-29
 */
@TableName("tces_result")
public class TcesResult extends Model<TcesResult> {

    private static final long serialVersionUID = 1L;

	private Integer id;
    /**
     * 评教结果
     */
	private Double result;
    /**
     * 开课信息
     */
	@TableField("cp_id")
	private Integer cpId;
    /**
     * 问卷id
     */
	private Integer qid;
	/**
	 * 用户id
	 */
	private Long uid;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Double getResult() {
		return result;
	}

	public void setResult(Double result) {
		this.result = result;
	}

	public Integer getCpId() {
		return cpId;
	}

	public void setCpId(Integer cpId) {
		this.cpId = cpId;
	}

	public Integer getQid() {
		return qid;
	}

	public void setQid(Integer qid) {
		this.qid = qid;
	}

	public Long getUid() {
		return uid;
	}

	public void setUid(Long uid) {
		this.uid = uid;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "TcesResult{" +
			"id=" + id +
			", result=" + result +
			", cpId=" + cpId +
			", qid=" + qid +
				", uid=" + uid +
			"}";
	}
}
